package com.shenqi.parking.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 租赁意向对象 parking_apply
 * 
 * @author shenqi
 * @date 2025-07-27
 */
public class ParkingApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long id;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 意向价格 */
    @Excel(name = "意向价格")
    private BigDecimal pricePerMonth;

    /** 意向租期 */
    @Excel(name = "意向租期")
    private String minRentalPeriod;

    /** 车位id */
    @Excel(name = "车位id")
    private Long spotId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPricePerMonth(BigDecimal pricePerMonth) 
    {
        this.pricePerMonth = pricePerMonth;
    }

    public BigDecimal getPricePerMonth() 
    {
        return pricePerMonth;
    }
    public void setMinRentalPeriod(String minRentalPeriod) 
    {
        this.minRentalPeriod = minRentalPeriod;
    }

    public String getMinRentalPeriod() 
    {
        return minRentalPeriod;
    }
    public void setSpotId(Long spotId) 
    {
        this.spotId = spotId;
    }

    public Long getSpotId() 
    {
        return spotId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phone", getPhone())
            .append("pricePerMonth", getPricePerMonth())
            .append("minRentalPeriod", getMinRentalPeriod())
            .append("spotId", getSpotId())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
